package session08.homework;

import javax.swing.*;

public class UpPanel extends JPanel {

    private JTextField numTxt;//文本框

    public JTextField getNumTxt() {
        return numTxt;
    }

    public void setNumTxt(JTextField numTxt) {
        this.numTxt = numTxt;
    }

    public UpPanel() {
        this.setLayout(null);
        this.numTxt = new JTextField();
        this.numTxt.setBounds(75, 45, 150, 30);
        this.add(this.numTxt);
    }
}
